<?php

namespace app\index\service;

use app\index\model\UM as UM;

/**
 * Class ConsultingIgnoreService
 * @package app\index\service
 */
class ConsultingIgnoreService
{

    /**
     * 新增
     * @param UM $user
     * @return  void
     */
    public function modify(UM $user, int $id, array $params): void
    {
        $user->ignoreConsulting()->attach($id);
    }

}
